package com.dao;

import java.util.List;

import com.model.Astuff;
import com.model.Urgency;

public interface UrgencyDao {
	public List<Urgency> getUrgencyListByUser(Astuff astuff,int offset,int length);
	
	public Urgency getUrgencyById(String urgencyid);
	
	public Long getUrgencyCountByUser(Astuff astuff);
	
	public List<Urgency> getUnReadUrgencyListByUser(Astuff astuff,int offset,int length);
	
	public Long getUnReadUrgencyCountByUser(Astuff astuff);
	
	public void setUrgencyReaded(Astuff astuff, String urgencyid);
}
